package com.yanqu.road.entity.activity.pixiu;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_u_pi_xiu_data")
public class PiXiuUserData extends DataObject {

    @FieldTypeAnnotation(desc = "活动ID", select = true, update = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "用户ID", select = true, update = true)
    private long userId;

    @FieldTypeAnnotation(desc = "喜悦值")
    private long happyValue;

    @FieldTypeAnnotation(desc = "头部奖励：道具id")
    private int headReward;

    @FieldTypeAnnotation(desc = "臀部奖励：道具id")
    private int buttReward;

    @FieldTypeAnnotation(desc = "档位千分比")
    private int conditionValue;

    @FieldTypeAnnotation(desc = "通宝使用数量")
    private long useTokenNum;

    @FieldTypeAnnotation(desc = "头部基础值")
    private int headBase;

    @FieldTypeAnnotation(desc = "臀部基础值")
    private int buttBase;

    @FieldTypeAnnotation(desc = "脚部基础值")
    private int footBase;

    @FieldTypeAnnotation(desc = "是否领取奖励")
    private int getReward;


    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        if(this.activityId != activityId) {
            this.activityId = activityId;
            setUpdateOption();
        }
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        if(this.userId != userId) {
            this.userId = userId;
            setUpdateOption();
        }
    }

    public long getHappyValue() {
        return happyValue;
    }

    public void setHappyValue(long happyValue) {
        if(this.happyValue != happyValue) {
            this.happyValue = happyValue;
            setUpdateOption();
        }
    }



    public int getConditionValue() {
        return conditionValue;
    }

    public void setConditionValue(int conditionValue) {
        if(this.conditionValue != conditionValue) {
            this.conditionValue = conditionValue;
            setUpdateOption();
        }
    }

    public long getUseTokenNum() {
        return useTokenNum;
    }

    public void setUseTokenNum(long useTokenNum) {
        if(this.useTokenNum != useTokenNum) {
            this.useTokenNum = useTokenNum;
            setUpdateOption();
        }
    }

    public int getHeadBase() {
        return headBase;
    }

    public void setHeadBase(int headBase) {
        if(this.headBase != headBase) {
            this.headBase = headBase;
            setUpdateOption();
        }
    }

    public int getButtBase() {
        return buttBase;
    }

    public void setButtBase(int buttBase) {
        if(this.buttBase != buttBase) {
            this.buttBase = buttBase;
            setUpdateOption();
        }
    }

    public int getFootBase() {
        return footBase;
    }

    public void setFootBase(int footBase) {
        if(this.footBase != footBase) {
            this.footBase = footBase;
            setUpdateOption();
        }
    }

    public int getGetReward() {
        return getReward;
    }

    public void setGetReward(int getReward) {
        if(this.getReward != getReward) {
            this.getReward = getReward;
            setUpdateOption();
        }
    }

    public int getHeadReward() {
        return headReward;
    }

    public void setHeadReward(int headReward) {
        if(this.headReward != headReward) {
            this.headReward = headReward;
            setUpdateOption();
        }
    }

    public int getButtReward() {
        return buttReward;
    }

    public void setButtReward(int buttReward) {
        if(this.buttReward != buttReward) {
            this.buttReward = buttReward;
            setUpdateOption();
        }
    }
}
